package com.house.business.vo;

import com.baomidou.mybatisplus.annotation.IdType;

import java.math.BigDecimal;
import java.util.*;
import com.baomidou.mybatisplus.annotation.TableField;
import java.util.*;
import com.baomidou.mybatisplus.annotation.TableId;
import java.util.*;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.*;
import com.house.framework.entity.BaseEntity;
import java.util.*;
import java.io.Serializable;
import java.util.*;
import java.time.LocalDateTime;
import java.util.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
* <p>
* 房源表
* </p>
*
* @since 2023-05-09
*/
@Getter
@Setter
@TableName("t_housing_resources_info")
@ApiModel(value = "HousingResourcesInfoVo对象", description = "房源表")
public class HousingResourcesInfoVo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("房源表主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("图片")
    @TableField("house_img")
    private String houseImg;

    @ApiModelProperty("地址")
    @TableField("address")
    private String address;

    @ApiModelProperty("房型")
    @TableField("house_type")
    private String houseType;

    @ApiModelProperty("面积（单位：㎡）")
    @TableField("area")
    private Integer area;

    @ApiModelProperty("装修程度（0：毛坯；1：精装修；2：简装修）")
    @TableField("renovation")
    private Integer renovation;

    @ApiModelProperty("楼层")
    @TableField("floor")
    private String floor;

    @ApiModelProperty("价格")
    @TableField("price")
    private BigDecimal price;

    @ApiModelProperty("状态（0：未出租；1：已出租）")
    @TableField("state")
    private Integer state;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty("房源名字")
    @TableField("name")
    private String name;


    @ApiModelProperty("分页页码")
    @TableField(exist = false)
    private Integer pageIndex;

    @ApiModelProperty("每页记录条数")
    @TableField(exist = false)
    private Integer pageSize;
}
